<div class="ui-tabs" ng-show="tabs.length > 0">
  <ul class="ui-tabs-nav" sv-root sv-part="tabs">
    <li ng-repeat="tab in tabs track by tab.id" ng-class="{active: tab === current}" sv-element="opts" ng-mousedown="activeTab(tab)"  ng-mousedown="mouseDown($event)" ui-tabs-menu="menuSelect(tab, action)">
      <i class="ui-tabs-loading-icon" ng-show="tab.loading"></i>
      <span>{{tab.name}}</span>
      <i ng-if="tab === current" class="ui-tabs-refresh-icon" ng-mousedown="refresh($event,tab,true)" title="刷新"></i>
      <i ng-if="defaultName != tab.name" class="ui-tabs-close-icon" ng-mousedown="close($event, tab)"  title="关闭"></i>
    </li>

  </ul>


  <div class="ui-tabs-container">
    <div class="ui-tabs-page" id="ui-tabs-{{tab.id}}" ng-show="tab === current" ng-repeat="tab in tabs track by tab.id">

    </div>

  </div>
</div>